.color {
  width: 100%;
  height: 100%;
  background: #F4F4F4;
  box-sizing: border-box;
  border-top: 1px solid #F4F4F4;
}

.allcolor {
  width: 100%;
  height: 37px;
  background: #fff;
  text-align: center;
  line-height: 37px;
  margin: 7.5px 0;
  color: #00afff;
}

.colortypes {
  width: 100%;
  height: 40px;
  background: #fff;
  line-height: 40px;
  overflow: hidden;
}

.colortypes > div {
  min-width: 110%;
  margin-right: 20px;
}

.colortypes > div span {
  font-size: 15px;
  margin-right: 20px;
}

.colortypes > div span:nth-child(1) {
  margin-left: 10px;
}

.active {
  color: #00afff;
}

.colors {
  width: calc(100% - 20px);
  padding: 10px;
  background: #fff;
  margin-top: 7.5px;
}

.colors > span {
  font-size: 14px;
  width: 145px;
  height: 36px;
  border: 1px solid #3aacff;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 10px;
  display: inline-block;
}

.colors > span:nth-child(odd) {
  margin-right: 10px;
}

.colors > span > span {
  display: inline-block;
  box-sizing: border-box;
}

.colors > span > span:nth-child(1) {
  margin-left: 10px;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #818181;
  vertical-align: -5px;
}

.colors > span > span:nth-child(2) {
  line-height: 34px;
}
